import request from '@/utils/request'
export function getCouponsTemp(id) {
  return request.get("/coupons/temp/"+id, {});
}
export function getCouponsUserOneTemp(id) {
  return request.get("/coupons/userOne/"+id, {});
}
export function getCouponsUserOneOffTemp(id) {
  return request.get("/coupons/userOneOff/"+id, {});
}
export function getCouponsList(type,page) {
  return request.get("/coupons/list/"+type,page);
}